package com.atgm.mall.gmmailcoupon.feign;

import com.atgm.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "gm-mall-product")
public interface ProductFeignService {

    @GetMapping("/gmmallproduct/goods/info")
    R getGoodsInfo(@RequestParam("ids") List<Long> goodsIds);

}
